PROJECT(SimuHuit)

CMAKE_MINIMUM_REQUIRED(VERSION 2.4)

if(COMMAND cmake_policy)
	cmake_policy(SET CMP0003 NEW) 
endif(COMMAND cmake_policy)

FIND_PACKAGE(wxWidgets REQUIRED )

IF(wxWidgets_FOUND)
INCLUDE_DIRECTORIES(${wxWidgets_INCLUDE_DIRS})
ENDIF(wxWidgets_FOUND)

FIND_PACKAGE( MRPT REQUIRED base slam hwdrivers gui)


ADD_EXECUTABLE(SimuHuit
	SimuHuit.cpp CFlyingRobot.cpp CFilt2.cpp Quad3DModel.cpp CLaserSensor.cpp CPilot.cpp CQuadrotor.cpp
	)

TARGET_LINK_LIBRARIES(SimuHuit ${MRPT_LIBS} ${wxWidgets_LIBRARIES} )
